package com.yxy.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DbManager {
    private static final String URL = "jdbc:mysql://47.101.68.49:3306/studentms";
    private static final String USER = "yyx";
    private static final String PASSWORD = "YYXyyx123456";

    public static Connection getConnection() throws SQLException {
        return DriverManager.getConnection(URL, USER, PASSWORD);
    }
}